/*
 * Region.cpp
 *
 *  Created on: Apr 14, 2009
 *      Author: Timmy
 */
#include <iostream>
#include <QString>

using namespace std;

#include "Region.h"

Region::Region(int reinf,QString name)
{
        m_Reinf = reinf;
        m_name = name;
}

Region::~Region()
{
    for(unsigned int n = 0;n < m_members.size();++n)
    {
        m_members[n] = NULL;
    }
}

void Region::addTerritory(Territory* territory)
{
        m_members.push_back(territory);
}
